mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 12 Feb 2025 13:26:20 +0000 (14:26 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 12 Feb 2025 13:26:20 +0000 (14:26 +0100)
commita6580dfb61b143a0b30df30d8daa66ebd3b87a70
tree01148be6d228525ff73e798230c7120f32e9c5eb
parente780cad414ce2567d0eb7b9502da6dcd7dca3411
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h